/*
 * @Description: loading状态
 * @Author: linminghuang
 * @Email: linminghuang@nnuo.com
 * @Date: 2022-02-17 10:29:53
 * @LastEditors: linminghuang
 * @LastEditTime: 2022-02-22 19:47:24
 * @FilePath: /zhjc-front/src/components/loading/index.jsx
 */
import React from 'react';
import { Spin } from 'antd';
import cx from 'classnames';
import styles from './index.module.less';

export default ({ className }) => (
  <div className={cx(styles.loading, { [className]: className })}>
    <Spin size="large" tip="加载中..." />
  </div>
);
